package com.dreamer.view.sub;

import com.dreamer.domain.pmall.order.PaymentWay;
import com.dreamer.service.mobile.OrderHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestConteoller {

    @Autowired
    private OrderHandler orderHandler;

    @RequestMapping("/test5")
    @ResponseBody
    public String test5(){
        orderHandler.payOrderByWx("74273");
        return "sss";
    }
}
